<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>JavaScript 数字属性</title>
</head>
<body>
<h2>NEGATIVE_INFINITY</h2>
<p>	负无穷大（溢出时返回）。</p>

<p id="demo"></p>

<script>
  let x = Number.NEGATIVE_INFINITY;  //let x=-1/0 结果一致
  document.getElementById("demo").innerHTML = x;
</script>

</body>
</html>

<!--
输出结果：
-Infinity
-->